ioemu: SDL rendering using OpenGL
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Mar 2008 11:47:58 +0000 (11:47 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Mar 2008 11:47:58 +0000 (11:47 +0000)
commit1fa1369d8aa82d26ce0f1626024758404c4d7fb3
treedf40a119fd651b36b7f247c26dbac8ec5689837d
parent985bf498a5c9fadbdc0a7a090725de70fca62264
ioemu: SDL rendering using OpenGL

Add opengl support for rendering the guest framebuffer in the SDL
window. SDL is needed anyway to open the window and handle the
events. Opengl rendering is optional and can be turned off at both
compile time and in the vm configuration file.

Some of the benefits of using opengl are:

 - faster rendering, less CPU intensive, especially with good graphic
   cards;
 - makes the window resizing possible and hardware accelerated, thus
   very efficient and smooth;
 - allows other optimizations like sharing directly a buffer in vram
   with the guest (not yet implemented).

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/examples/xmexample.hvm
tools/ioemu/configure
tools/ioemu/sdl.c
tools/ioemu/vl.c
tools/ioemu/vl.h
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py